Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
rohanchkrabrty
requested changes
Dec 19, 2025
Contributor
rohanchkrabrty
left a comment
There was a problem hiding this comment.
Also I feel it's better to expose a <ScrollArea/> component as it is, which will render Scrollbar and Corner internally.
<ScrollArea>
{Array.map(_ => <Box/>)}
</ScrollArea>
Similar to this
Contributor
Author
|
It was mostly done to match the exposed API with Radix Scroll Area API but I agree that the it is too verbose. We will expose the required Radix components like Corner, Scrollbar, etc. if required in future. I have simplified the API. |
rohanchkrabrty
approved these changes
Jan 5, 2026
Contributor
rohanchkrabrty
left a comment
There was a problem hiding this comment.
Looks good. Suggested changes to docs would be helpful
Co-authored-by: Rohan Chakraborty <irohan1999@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
feat: add scroll-area component
Note: The scrollbar background is under descussion with design. Also, as present in the design it is not possible to expand the scroll bar length wise on hover due to some restrictions and its counter behavioural.
Note: The scrollbar only expands width wise and not length wise on hover as it not an ideal behaviour as the length is calculated using the content. Also, on extreme ends of the scroll path the expansion will fail and will be unnecessarily complex to handle.
Type of Change
How Has This Been Tested?
Manual and unit
Checklist:
Screenshots (if appropriate):
[Add screenshots here]
Related Issues
[Link any related issues here using #issue-number]